package com.wangxiang.shop.member.service.Impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.wangxiang.common.utils.PageUtils;
import com.wangxiang.common.utils.Query;

import com.wangxiang.shop.member.dao.MemberLocationDao;
import com.wangxiang.shop.member.entity.MemberLocationEntity;
import com.wangxiang.shop.member.service.MemberLocationService;


@Service("memberLocationService")
public class MemberLocationServiceImpl extends ServiceImpl<MemberLocationDao, MemberLocationEntity> implements MemberLocationService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<MemberLocationEntity> page = this.page(
                new Query<MemberLocationEntity>().getPage(params),
                new QueryWrapper<MemberLocationEntity>()
        );

        return new PageUtils(page);
    }

}